@echo off
echo Setting up Git repository...
"C:\Program Files\Git\cmd\git.exe" init
echo.
echo Configuring Git user...
"C:\Program Files\Git\cmd\git.exe" config user.name "Elite Magazine"
"C:\Program Files\Git\cmd\git.exe" config user.email "elite@magazine.com"
echo.
echo Adding PWA files...
"C:\Program Files\Git\cmd\git.exe" add service-worker.js
"C:\Program Files\Git\cmd\git.exe" add manifest.json
"C:\Program Files\Git\cmd\git.exe" add themes/magazine-theme/layouts/_default/baseof.html
"C:\Program Files\Git\cmd\git.exe" add static/css/mobile-optimization.css
"C:\Program Files\Git\cmd\git.exe" add static/offline.html
"C:\Program Files\Git\cmd\git.exe" add static/offline-test.html
echo.
echo Committing changes...
"C:\Program Files\Git\cmd\git.exe" commit -m "Add PWA features and mobile optimization"
echo.
echo Git status:
"C:\Program Files\Git\cmd\git.exe" status
echo.
echo Next steps:
echo 1. Create repository on Gitee
echo 2. Run: git remote add origin YOUR_REPO_URL
echo 3. Run: git push -u origin main
echo.
pause